package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementPayeeRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementPayeePo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementPayeeDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementPayeeDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementPayeeDomainImpl extends BaseDomainImpl<ExpenditureReimbursementPayeeDto, ExpenditureReimbursementPayeePo> implements ExpenditureReimbursementPayeeDomain {

    @Resource
    private ExpenditureReimbursementPayeeRepository expenditureReimbursementPayeeRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementPayeePo> getMapper() {
        return expenditureReimbursementPayeeRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementPayeePo>> getRepositoryClass() {
        return ExpenditureReimbursementPayeeRepository.class;
    }

}
